NEWS: Now you can whitelist Tor from Cloudflare Dashboard. Please configure it if you use Cloudflare now!

Whitelist Tor Exit nodes for websites using Cloudflare

Note: This is not a perfect solution. 
Cloudflare may choose to block some requests in spite of the explicit
whitelisting!

Recommended Cloudflare settings:
Set Firewall->Security Level to `Essentially Off' (or `Off' if available)

Set Firewall->Browser Integrity Check to `Off'

Enable HTTPS. (Cloudflare is MITMing, though.)

You should also consider providing a Onion service for your website.
This should provide a end2end security.
(Support for non-anonymous fast Onion services are being developed
by the Tor Project.)

After configuration, run the script every day (probably using cron).

Licensed under the Apache License 2.0 to encourage easy adoption.
(We like AGPL or GPL more, though)

--
Copyright (C) 2016  Desktopd Developers.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
